package top.huhuiyu.myforum.entity;

public class TbUser implements java.io.Serializable {
  private static final long serialVersionUID=-2040277104086281447L;
  private java.lang.Integer uid; 
  private java.lang.String username; 
  private java.lang.String password; 
  private java.lang.String nickname; 
  private java.lang.String isEnable; 
  private java.util.Date created; 
  
  public TbUser() {
  }

  public TbUser(java.lang.Integer uid,java.lang.String username,java.lang.String password,java.lang.String nickname,java.lang.String isEnable,java.util.Date created) {
    this.uid = uid;
    this.username = username;
    this.password = password;
    this.nickname = nickname;
    this.isEnable = isEnable;
    this.created = created;
  }
  
  public void setUid (java.lang.Integer uid) {
    this.uid = uid;
  }
  
  public java.lang.Integer getUid() {
    return uid;
  }
    
  public void setUsername (java.lang.String username) {
    this.username = username;
  }
  
  public java.lang.String getUsername() {
    return username;
  }
    
  public void setPassword (java.lang.String password) {
    this.password = password;
  }
  
  public java.lang.String getPassword() {
    return password;
  }
    
  public void setNickname (java.lang.String nickname) {
    this.nickname = nickname;
  }
  
  public java.lang.String getNickname() {
    return nickname;
  }
    
  public void setIsEnable (java.lang.String isEnable) {
    this.isEnable = isEnable;
  }
  
  public java.lang.String getIsEnable() {
    return isEnable;
  }
    
  public void setCreated (java.util.Date created) {
    this.created = created;
  }
  
  public java.util.Date getCreated() {
    return created;
  }
    
  @Override
  public String toString() {
    return String.format("uid:%s,username:%s,password:%s,nickname:%s,isEnable:%s,created:%s",uid,username,password,nickname,isEnable,created);
  }
}
